sort list bool dart

59

booleans.sort((a, b) {
  if(b) {
    return 1;
  }
  return -1;
});

Comments

Submit
0 Comments